//
//  PrizeFooderView.m
//  PlayCatchGame
//
//  Created by 流言 on 2018/2/10.
//  Copyright © 2018年 清正. All rights reserved.
//

#import "PrizeFooderView.h"

@interface PrizeFooderView()

@property(nonatomic, strong)ButtonBlock buttonBlock;

@end

@implementation PrizeFooderView

- (IBAction)buttonClick:(UIButton *)sender {
    if (self.buttonBlock) {
        self.buttonBlock(sender);
    }
}

- (void)didButtonClickBlock:(ButtonBlock)newBlock {
    self.buttonBlock = newBlock;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
